home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-10-26 | 535 b | 15 lines | [TEXT/$Tcl] |
-
-
- lassign list var ?var...?
- Assign successive elements of a list to specified vari-
- ables. Any leftover fields are discarded. When there
- are more variable names than fields, the remaining
- variables are set to the empty string.
-
- For example,
-
- lassign {dave 100 200 {Dave Foo}} name uid gid longName
-
- Assigns name to ``dave'', uid to ``100'', gid to
- ``200'', and longName to ``Dave Foo''.
-